package com.baidu.www1;
class Tire{
}
// 发动机类
class Engine{
}
// 车载系统类
class VehicleSystem{
}
class Car{
    private Tire tire;
    private Engine engine;
    private VehicleSystem vs;
// ...
}
class Benz extends Car{
// 将汽车中包含的：轮胎、发送机、车载系统全部继承下来
}
public class Text3 {
}
